import { PickType } from '@nestjs/swagger';
import { DepartmentEntity } from '../entities/department.entity';

export class CreateDepartmentDto extends PickType(DepartmentEntity, [
  'name',
  'remark',
  'parentId',
  'leader',
  'weight',
]) {}
